import * as tslib_1 from "tslib";
import { Injectable, Injector } from '@angular/core';
import { NgRepository } from '@farris/devkit';
import { BefRepository } from '@farris/bef';
import { ZcxxEntity } from './entities/zcxxentity';
import { ZcxxProxy } from './zcxxproxy';
var ZcxxRepository = /** @class */ (function (_super) {
    tslib_1.__extends(ZcxxRepository, _super);
    function ZcxxRepository(injector) {
        var _this = _super.call(this, injector) || this;
        _this.name = 'ZcxxRepository';
        _this.paginationInfo = {
            ZcxxEntity: {
                pageSize: 20,
            }
        };
        _this.proxy = injector.get(ZcxxProxy, null);
        return _this;
    }
    ZcxxRepository = tslib_1.__decorate([
        Injectable(),
        NgRepository({
            apiUrl: 'api/basicdata/basicdata/v1.0/zcfl_frm',
            entityType: ZcxxEntity
        }),
        tslib_1.__metadata("design:paramtypes", [Injector])
    ], ZcxxRepository);
    return ZcxxRepository;
}(BefRepository));
export { ZcxxRepository };
